import request from '@/utils/request'


//新增 用户协议
export function editVersion(data) {
    return request({
      url: '/shenye/app/version',
      method: 'put',
      data
    })
}

//查询神椰app版本信息详情
export function versionDetail(id) {
    return request({
        url: `/shenye/app/version/detail/${id}`,
        method: 'get',
    })
}


// 卡优优

//新增 用户协议
export function editKyyVersion(data) {
    return request({
      url: '/kyy/app/version',
      method: 'put',
      data
    })
}

//查询神椰app版本信息详情
export function kyyVersionDetail(id) {
    return request({
        url: `/kyy/app/version/detail/${id}`,
        method: 'get',
    })
}





